package com.my.simple.common.enums;

public enum DictionaryTypeEnum {

    Degree(1, "学历"),
    Sex(2, "性别");

    private Integer key;
    private String name;

    DictionaryTypeEnum(Integer key, String name) {
        this.key = key;
        this.name = name;
    }

    public Integer getKey(){
        return this.key;
    }

}
